
<html>
	{% load static %}
	<link rel="stylesheet" type="text/css" href="{% static 'polls/css/mui.min.css' %}" />
	<style>
		html,
		body {
			background-color: #efeff4;
		}
		p {
			text-indent: 22px;
		}
		span.mui-icon {
			font-size: 14px;
			color: #007aff;
			margin-left: -15px;
			padding-right: 10px;
		}
		.mui-off-canvas-left {
			color: #fff;
		}
		.title {
			margin: 35px 15px 10px;
		}
		.title+.content {
			margin: 10px 15px 35px;
			color: #bbb;
			text-indent: 1em;
			font-size: 14px;
			line-height: 24px;
		}
		input {
			color: #000;
		}
	</style>
<body>

<div class="mui-card" style="width:400px;margin:10 auto;">
<div class="mui-card-header">
	<h1>{{ question.question_text }}</h1>
	{% if error_message %}
{% endif %}		
</div>
<div class="mui-card-content">
	<div class="mui-card-content-inner">

		<form action="{% url 'polls:vote' question.id %}" method="post" >
				

{% csrf_token %}
{% for choice in question.choice_set.all %}



<input type="radio" name="choice" id="choice{{ forloop.counter }}" value="{{ choice.id }}" />--------
<label for="choice{{ forloop.counter }}">{{ choice.choice_text }}</label><br />


{% endfor %}
</br>&nbsp;
<input type="submit" value="提交并查看结果" style="width:350px"/>
</form>

		</div>
	</div>
	<div class="mui-card-footer">软件151周伟201559065126</div>
</div>



</body>
</html>
